<template>
  <!--我的动态页面-->
  <div>
    <topDiv>我的动态</topDiv>
    <card :info='info'/>
  </div>
</template>

<script>
import topDiv from "components/share/mine/topDiv"
import card from "components/share/dynamic/card";
import { dynamicData } from "request/dynamic";
import {parseCookie} from "ulit/parse"
export default {
  name:'takl',
  data(){
    return{
      info:null
    }
  },
  components: {
    card,
    topDiv
  },
  methods:{
    getData(){
      var id=parseCookie()
      dynamicData(id).then(res=>this.info=res.data)
    }
  },
  mounted() {
    this.getData();
  }
}
</script>

<style>

</style>